#!/usr/bin/env sh
# YELLOW="\033[33m"
# GREEN="\033[32m"
# RED="\033[31m"
# RESET="\033[0m"

# COMMITLINT_CMD="npx --no -- commitlint --edit \"$1\""

# echo "${YELLOW}\n⏩ 开始 commit 信息规范检查${RESET}\n"
# if eval "${COMMITLINT_CMD}"; then
#     echo "${GREEN}\n✅ commit 信息规范检查通过\n${RESET}"
# else
#     echo "${RED}\n❌ commit 信息不符合规范，建议使用命令 npm commit 提交!\n${RESET}"
#     exit 1
# fi



